home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 3 / Cream of the Crop 3.iso / comm / jmtl028c.zip / DMAKEFIL < prev    next >
Text File  |  1994-03-23  |  2KB  |  56 lines

  1.  
  2. OD= obj/
  3. JAMTOOL_T= bin/JamTool_T 
  4. JAMTOOL_I= bin/JamTool_I 
  5. JTPHONE = bin/jtphone
  6. LNFLAGS= SC SD VERBOSE
  7. CFLAGS = -d -ccimqw -O
  8. LIBS=lib:lc.lib lib:amiga.lib lib:debug.lib
  9.  
  10. #  Now, talk about the 'general' source and objects, not the 'special' ones.
  11.  
  12. SRCS= flolist.c jamtool.c sertype.c lookup.c xferqglue.c \
  13.       jtphonebook.c dialresp.c
  14.  
  15. OBJS= $(SRCS:"*.c":"$(OD)*.o")
  16.  
  17. normal: $(JAMTOOL_T) $(JAMTOOL_I) $(JTPHONE)
  18.      filenote $(JAMTOOL_T) "Traplist.Library Lookup Option"
  19.      filenote $(JAMTOOL_I) "Nodelist.Library (Igen) Lookup Option"
  20.      cronevent a 0 resident jamtool jamtool:bin/jamtool_t
  21.  
  22. #  The actual output tool name, and all the .o files it should create
  23. # and link to create the tool.
  24. # If ALL the OBJS are relevant to the binary, you can put $(OBJS) rather
  25. # than specifying each object file.  Always specify the 'special' .o file
  26. # individually, though!
  27.  
  28. $(JAMTOOL_T): $(OD)flolist.o $(OD)xferqglue.o $(OD)jamtool.o \
  29.     $(OD)sertype.o $(OD)lookup_t.o $(OD)dialresp.o
  30.     blink from lib:cres.o %(right) SC SD ND TO %(left) lib $(LIBS) 
  31.  
  32. $(JAMTOOL_I): $(OD)flolist.o $(OD)xferqglue.o $(OD)jamtool.o \
  33.  $(OD)sertype.o $(OD)lookup_i.o $(OD)dialresp.o
  34.     blink from lib:cres.o %(right) SC SD ND TO %(left) lib $(LIBS) 
  35.  
  36. $(JTPHONE): $(OD)jtphonebook.o $(OD)xferqglue.o
  37.     blink from lib:c.o %(right) SC SD ND TO %(left) lib $(LIBS)
  38.  
  39. #  You're special .o files, and the specific .c file that needs to be
  40. # refered to.
  41. $(OD)lookup_t.o : lookup.c
  42.    lc $(CFLAGS) -dTRAPLIST -o%(left) %(right)
  43.  
  44. $(OD)lookup_i.o : lookup.c
  45.     lc $(CFLAGS) -dIGEN -o%(left) %(right)
  46.  
  47. # This will be used for any .o file that isn't already mentioned as being
  48. # one of the 'special' .o files above
  49. $(OBJS) : $(SRCS)
  50.     lc $(CFLAGS) -o%(left) %(right)
  51.  
  52. clean :
  53.     -delete $(OD)#?
  54.     -delete $(JAMTOOL_T) $(JAMTOOL_I) $(JTPHONE)
  55.  
  56.